<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-transitional.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
	<title>安徽大学研究生联合培养网站-后台管理系统</title>
	<%@ include file="/WEB-INF/jsp/public/common.jspf" %>
    <script>
		KindEditor.ready(function(K) {
			var editor1 = K.create('textarea[name="content"]', {
				cssPath : '${pageContext.request.contextPath}/editor/plugins/code/prettify.css',
				uploadJson : '${pageContext.request.contextPath}/editor/jsp/upload_json.jsp',
				fileManagerJson : '${pageContext.request.contextPath}/editor/jsp/file_manager_json.jsp',
				allowFileManager : true,
				afterCreate : function() {
					var self = this;
					K.ctrl(document, 13, function() {
						self.sync();
						document.forms['form'].submit();
					});
					K.ctrl(self.edit.doc, 13, function() {
						self.sync();
						document.forms['form'].submit();
					});
				}
			});
			prettyPrint();
		});
	</script>
<style>
body{
	background: #eef2fb;
}
</style>
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" valign="top" background="${pageContext.request.contextPath}/styles/images/mail_leftbg.gif"><img src="${pageContext.request.contextPath}/styles/images/left-top-right.gif" width="17" height="29" /></td>
    <td valign="top" background="${pageContext.request.contextPath}/styles/images/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31"><div class="titlebt">修改招生简章 </div></td>
      </tr>
    </table>
    </td>
    <td width="16" valign="top" background="${pageContext.request.contextPath}/styles/images/mail_rightbg.gif"><img src="${pageContext.request.contextPath}/styles/images/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  <tr>
    <td valign="middle" background="${pageContext.request.contextPath}/styles/images/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9">
    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td colspan="2" valign="top" width="80%">&nbsp;</td>
        <td width="5%">&nbsp;</td>
        <td valign="top" width="15%">&nbsp;</td>
      </tr>
      <tr>
        <td colspan="2" valign="top"><span class="left_bt">请修改招生简章信息，填写完成后点击提交即可完成修改</span>
        <br><br>
	        <s:form name="form" action="studentsGuideAction_%{id == null ? 'add' : 'edit'}">
	        	 <s:hidden name="id"></s:hidden>
	        	标&nbsp;&nbsp;&nbsp;&nbsp;题：<s:textfield name="title" cssStyle="width:300px;"></s:textfield>
	        	<br> 
	        	<br>
	        	发&nbsp;布&nbsp;人：<s:textfield name="author"></s:textfield>
	        	<br> 
	        	<br>
	        	发布时间：<s:textfield name="time" id="datetimepicker8"></s:textfield>
	        	<br> 
	        	<br>
	        	文章内容：<br><br>
				<s:textarea name="content" style="width:720px;height:550px;"></s:textarea><br><br>
	        	<s:submit value="提交"></s:submit>
			</s:form>
        </td>
        <td width="5">&nbsp;</td>
        <td width="15%" valign="top"><table width="100%" height="144" border="0" cellpadding="0" cellspacing="0" class="line_table">
          <tr>
            <td height="5" colspan="2">&nbsp;</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td colspan="2">&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      
      <tr>
        <td height="40" colspan="4"><table width="100%" height="1" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
          <tr>
            <td></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td width="2%">&nbsp;</td>
        <td width="51%" class="left_txt"><img src="${pageContext.request.contextPath}/styles/images/icon-mail2.gif" width="16" height="11"> 管理员QQ：403278819<br>
              <img src="${pageContext.request.contextPath}/styles/images/icon-phone.gif" width="17" height="14"> <a href="indexAction_index.action" target="_bank">进入前台</a></td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
    </table></td>
    <td background="${pageContext.request.contextPath}/styles/images/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td valign="bottom" background="${pageContext.request.contextPath}/styles/images/mail_leftbg.gif"><img src="${pageContext.request.contextPath}/styles/images/buttom_left2.gif" width="17" height="17" /></td>
    <td background="${pageContext.request.contextPath}/styles/images/buttom_bgs.gif"><img src="${pageContext.request.contextPath}/styles/images/buttom_bgs.gif" width="17" height="17"></td>
    <td valign="bottom" background="${pageContext.request.contextPath}/styles/images/mail_rightbg.gif"><img src="${pageContext.request.contextPath}/styles/images/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>
</body>
<script src="${pageContext.request.contextPath}/scripts/datetimepicker/jquery.js"></script>
<script src="${pageContext.request.contextPath}/scripts/datetimepicker/jquery.datetimepicker.js"></script>
<script type="text/javascript">
$('#datetimepicker8').datetimepicker({
	onGenerate:function( ct ){
		$(this).find('.xdsoft_date')
			.toggleClass('xdsoft_disabled');
	},
	lang:'ch',
	format:'Y-m-d H:m',
	minDate:'-1970/01/02', 
	maxDate:'+1970/01/02' ,
	timepicker:false
});
</script>
</html>
